<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
 

class site_mdl_smallprogram_columns extends dbeav_model
{

    function modifier_images($row)
    {
        $img_src = base_storager::image_path($row,'s' );
        if(!$img_src)return '';
        return "<a href='$img_src' class='img-tip pointer' target='_blank' onmouseover='bindFinderColTip(event);'><span>&nbsp;pic</span></a>";
    }
    
    function modifier_is_open($row)
    {
        return $row=='true' ? '已开启' : '已关闭';
    }

}//End Class
